/*
 * CProc.java
 *
 * Copyright (c) 2009 Giles Millward (Manigra). All rights reserved.
 *
 * This file is part of JRogueDPS.
 *
 * JRogueDPS is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * JRogueDPS is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with JRogueDPS.  If not, see <http://www.gnu.org/licenses/>.
 */

package dpssystem;

import dpsstats.CProcStats;
import geardatabase.CStats;

/**
 *
 * @author gmillward
 */
public abstract class CProc {
    public enum AttackType {MeleeWhite, MeleeSpecial, MeleeFinisher, SpellFinisher,
                            DeadlyPoison, InstantPoison, WoundPoison, Anesthetic_Poison,
                            Rupture};
    public String m_name;
    public CStats m_stats;
    public CProcStats m_procStats;

    public CProc(String p_name, CProcStats p_procStats) {
        m_name = p_name;
        m_procStats = p_procStats;
    }

    public abstract void executeProc(CSim p_sim, AttackType p_attackType, boolean p_crit, CWeapon p_weapon);
}

